#if !defined(SM__SWAG_H)
#define SM__SWAG_H

#include "swagme.h"
#include "TouchableObject.h"
class Sprite;

class Swag : public TouchableObject {
  public:
    Swag(Sprite* ps, int x, int y, sm_swag_type swagType, int _pts = 10);
//    Swag(Sprite* ps, int _pts = 10);
//    Swag(int _pts = 10);
    ~Swag();
    int Draw(SDL_Surface *dst, bool bShadow=false);
    int AddEffect(const string &name);
    int RemoveEffect(const string &name);
    void SetFacing(sm_direction f);
    sm_direction GetFacing();

    int getSpeed() const { return 0; }
    sm_cd_object getObjectType() const { return sm_cdo_swag; }

    Sprite *mpSprite;

    int getPoints() const { return mPoints; }
    sm_swag_type getSwagType() const { return mSwagType; }

    void Update(Game*, Uint32 prevTick, Uint32 thisTick);
  private:
    static const int FrameCount;
    int FrameCounter;
    int mPoints;
    sm_swag_type mSwagType;
};

#endif // SM__SWAG_H
